﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public enum BuffType
{
    attack,
    health,
    speed
}

public class BuffData {

    private int id;
    private string icon;
    private BuffType bufType;
    private int round;

    #region 属性
    public int Id
    {
        get
        {
            return id;
        }

        set
        {
            id = value;
        }
    }

    public string Icon
    {
        get
        {
            return icon;
        }

        set
        {
            icon = value;
        }
    }

    public BuffType BufType
    {
        get
        {
            return bufType;
        }

        set
        {
            bufType = value;
        }
    }

    public int Round
    {
        get
        {
            return round;
        }

        set
        {
            round = value;
        }
    }
#endregion

    public void SetMySelf(BuffData bd)
    {
        id = bd.Id;
        icon = bd.Icon;
        bufType = bd.BufType;
        round = bd.Round;
    }
}
